﻿using DoNetDrive.Protocol.Door.Door8800;
using DotNetty.Buffers;
using System;
using System.Collections.Generic;
using System.Text;

namespace DoNetDrive.Protocol.Fingerprint.SystemParameter
{
    /// <summary>
    /// 设置离线IC卡工作参数命令的参数
    /// </summary>
    public class WriteOfflineICCardSetting_Parameter : AbstractParameter
    {



        /// <summary>
        /// 构建一个空的设置离线IC卡工作参数命令的参数实例
        /// </summary>
        public WriteOfflineICCardSetting_Parameter()
        {

        }

        /// <summary>
        /// 创建设置离线IC卡工作参数命令的参数
        /// </summary>
        /// <param name="itype">第三方平台类型</param>
        public WriteOfflineICCardSetting_Parameter(int use)
        {

        }

        /// <summary>
        /// 检查参数
        /// </summary>
        /// <returns></returns>
        public override bool checkedParameter()
        {
            return true;
        }

        /// <summary>
        /// 获取数据长度
        /// </summary>
        /// <returns></returns>
        public override int GetDataLen()
        {
            return 39;
        }

        /// <summary>
        /// 释放资源
        /// </summary>
        public override void Dispose()
        {
            return;
        }

        /// <summary>
        /// 编码参数
        /// </summary>
        /// <param name="databuf"></param>
        /// <returns></returns>
        public override IByteBuffer GetBytes(IByteBuffer databuf)
        {

            return databuf;
        }

        /// <summary>
        /// 解码参数
        /// </summary>
        /// <param name="databuf"></param>
        public override void SetBytes(IByteBuffer databuf)
        {

        }
    }
}
